package org.jmhome.blog.service;

import java.util.List;

import org.jmhome.blog.model.Category;

public interface CategoryService {

	void insertCategory(Category category);

	void updateCategory(Category category);

	void deleteCategory(Category category);

	void deleteCategory(String categoryCode);

	Category getCategory(String categoryCode);

	List<Category> getAllCategories();
}
